package com.xyzwps.mvckotlin.dao.model

import java.util.*

data class UserInfo(var userId: Long? = null,
                    var username: String? = null,
                    var password: String? = null,
                    var registerTime: Date? = null,
                    var updateTime: Date? = null) {
    fun desensitize(): UserInfo {
        this.password = null
        return this
    }
}